package com.tro.mail.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.tro.mail.dao.entity.MailMarker;
import com.tro.mail.dao.entity.MailMarkerExample;

public interface MailMarkerManager {
	int countByExample(MailMarkerExample example);

	int deleteByExample(MailMarkerExample example);

	int insert(MailMarker record);

	int insertSelective(MailMarker record);

	List<MailMarker> selectByExample(MailMarkerExample example);

	int updateByExampleSelective(@Param("record") MailMarker record, @Param("example") MailMarkerExample example);

	int updateByExample(@Param("record") MailMarker record, @Param("example") MailMarkerExample example);
	
	void addMark(MailMarker record);
	
	public List<MailMarker> selectMarkByRelation(Long mail_id);
}
